package com.love.rongcommon.vo;

public class AccessTokenVo {

    /**
     * 账号ID
     */
    private Long userId;

    /**
     * 渠道
     */
    private Integer source;

    /**
     * 设备ID
     */
    private String deviceId;

    /**
     * 时间戳
     */
    private long currentTimeMillis = System.currentTimeMillis();

    /**
     * 令牌
     */
    private String accessToken;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public long getCurrentTimeMillis() {
        return currentTimeMillis;
    }

    public void setCurrentTimeMillis(long currentTimeMillis) {
        this.currentTimeMillis = currentTimeMillis;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }
}
